import requests
class Ihrm_login_api(object):
    @classmethod
    def login(cls,login_data):
        resp = requests.post(url='https://heimahr-t.itheima.net/api/sys/login',data=login_data)
        return resp

if __name__ == '__main__':
    resp = Ihrm_login_api.login({"mobile": "13800000002","password": "hm#qd@23!"})
    print(resp.json())